﻿using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IDAL
{
   public interface IUsersDAL
    {
        /// <summary>
        /// 注册用户
        /// </summary>
        /// <param name="mo"></param>
        /// <returns></returns>
        Users UsersLogin(Users mo);

        /// <summary>
        /// 用户显示
        /// </summary>
        /// <returns></returns>
        List<Users> UsersShow();

        /// <summary>
        /// 将启用状态修改为启用
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        int UsersFull(int id);

        /// <summary>
        /// 将启用状态改为未启用
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        int UsersStop(int id);

        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        int UsersDel(int id);
        /// <summary>
        /// 修改人员信息
        /// </summary>
        /// <param name="mo"></param>
        /// <returns></returns>
        int UsereUpt(Users mo);

        /// <summary>
        /// 根据id来查询人员详细讯息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        List<Users> UsersSelectId(int id);
        List<Users> GetUsers(int id);

    }
}
